package com.itheima.service;

import com.itheima.pojo.OrderSetting;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingService {
    /**
     * 根据日期修改预约人数
     */
    void editNumberByOrderDate(OrderSetting orderSetting) throws Exception;

    /**
     * 根据日期查询预约设置
     * @param month
     * @return
     */
    List<Map> getOrderSettingByMonth(String month) throws Exception;

    /**
     * 文件上传
     * @param orderSettings
     */
    public void add(ArrayList<OrderSetting> orderSettings);
}
